package cn.tedu.csmall.passport.mapper;

import cn.tedu.csmall.passport.pojo.entity.Admin;
import cn.tedu.csmall.passport.pojo.vo.AdminListItemVO;
import cn.tedu.csmall.passport.pojo.vo.AdminLoginInfoVO;
import cn.tedu.csmall.passport.pojo.vo.AdminStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author Administrator
* @description 针对表【ams_admin(管理员)】的数据库操作Mapper
* @createDate 2023-06-16 11:20:58
* @Entity generator.domain.Admin
*/

@Repository
public interface AdminMapper extends BaseMapper<Admin> {

    AdminLoginInfoVO getLoginInfoByUsername(String username);


    AdminStandardVO getStandardById(Long id );

    List<AdminListItemVO> list();
}




